build: Tie interface age to the development cycle
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 23 Nov 2020 17:58:43 +0000 (17:58 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 9 Dec 2020 12:19:50 +0000 (12:19 +0000)
commit1cc207af32f822f5882cc4978a8b018f9271961a
treedcca2068625d2a71f9a69aa2c11541f1d1fba606
parentf4a0d57c078d0c59ef90ac54eec275104a1cce16
build: Tie interface age to the development cycle

We don't want to increase the interface age manually, because we're
going to end up forgetting about it.

Instead, we should tie it to the rest of the version:

 - in stable (even minor) cycles, we don't add new API; the interface
   age is the same as the micro version
 - in unstable (odd minor) cycles, every new release might have new API,
   or updates to newly added API; keep the interface age to 0

This removes one more manual thing to change during release, and keeps
us honest with our promise not to add symbols during stable cycles.
meson.build